<?php
/**
 * Created by Command.
 * User: Vito
 */

declare (strict_types = 1);

namespace app\admin\controller\v1;

use app\admin\controller\BaseController;
use app\logic\HousingLogic;

class Housing extends BaseController
{
    protected $name = '小区';

    protected $registerCurd = true;

    protected $registerCurdDir = true;

    protected $methodName = [
        'aaaa' => '测试',
    ];

    /**
     * 初始化
     */
    
    protected function initialize()
    {
        $this->logic = new HousingLogic();
    }

    public function aaaa(){

        $res = $this->logic->getList();

        return $this->success($res);
    }

}
